package entiey;

import java.awt.Component;
//import java.sql.Timestamp;
import java.util.Date;

import entiey.Dictionary;

public class Vip {
	private int no;//序号
	private int card;//会员卡号
	private String name;//会员姓名
	private String gender;//性别
	private Date birthday;//生日   新加的
	private String tel;//会员电话
	private String address;//地址  新加的
	private int level;//会员级别
	private String discount;//折扣:应该用String
	private int integral;//积分
	//private Timestamp openDateTimestamp;//办卡日期
	private Date handleCardDate;//办卡日期
	private String costMoney;//消费总金额:应该用String
	private int costNum;//消费次数
	private String remark;//备注
	
	private Dictionary levelObj;
	
	public Dictionary getLevelObj() {
		return levelObj;
	}
	public void setLevelObj(Dictionary levelObj) {
		this.levelObj = levelObj;
	
	
	}

	
	public int getNo() {
		return no;
	}




	public void setNo(int no) {
		this.no = no;
	}




	public int getCard() {
		return card;
	}




	public void setCard(int card) {
		this.card = card;
	}




	public String getName() {
		return name;
	}




	public void setName(String name) {
		this.name = name;
	}




	public String getGender() {
		return gender;
	}




	public void setGender(String gender) {
		this.gender = gender;
	}




	public Date getBirthday() {
		return birthday;
	}




	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}




	public String getTel() {
		return tel;
	}




	public void setTel(String tel) {
		this.tel = tel;
	}




	public String getAddress() {
		return address;
	}




	public void setAddress(String address) {
		this.address = address;
	}




	public int getLevel() {
		return level;
	}




	public void setLevel(int level) {
		this.level = level;
	}




	public String getDiscount() {
		return discount;
	}




	public void setDiscount(String discount) {
		this.discount = discount;
	}




	public int getIntegral() {
		return integral;
	}




	public void setIntegral(int integral) {
		this.integral = integral;
	}







	public Date getHandleCardDate() {
		return handleCardDate;
	}
	public void setHandleCardDate(Date handleCardDate) {
		this.handleCardDate = handleCardDate;
	}
	public String getCostMoney() {
		return costMoney;
	}




	public void setCostMoney(String costMoney) {
		this.costMoney = costMoney;
	}




	public int getCostNum() {
		return costNum;
	}




	public void setCostNum(int costNum) {
		this.costNum = costNum;
	}




	public String getRemark() {
		return remark;
	}




	public void setRemark(String remark) {
		this.remark = remark;
	}




	@Override
	public String toString() {
		return "Vip [no=" + no + ", card=" + card + ", name=" + name + ",gender=" + gender + ", birthday=" + birthday + ",tel=" + tel + ",address=" + address + ", level=" + level
				+ ", discount=" + discount + ", integral=" + integral + ", handleCardDate=" + handleCardDate
				+ ", costMoney=" + costMoney + ", costNum=" + costNum + ", remark=" + remark + "]";
	}
	}




